package com.xlf.service.judge.strategy.judgeMachine;


import com.xlf.service.judge.io.File;
import com.xlf.service.judge.pojo.RunLimit;
import com.xlf.pojo.dto.RunResult;

/**
 * @Author xlf 2734029211@qq.com
 * @Date 2023/9/12 10:35
 * @Description: TODO
 * @Version 1.0
 */
public interface Run {

    /**
     *
     * @param language 语言
     * @param code 代码
     * @param testCaseInput 输入用例
     * @param runLimit 运行限制
     * @return 运行结果
     */
    RunResult doRun(String language, Object code, File testCaseInput, RunLimit runLimit);
}
